//
//  XDDataPicker.h
//  XDEducation
//
//  Created by apple on 2017/5/3.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface XDDataPicker : UIView

@property (nonatomic) UIDatePickerMode datePickerMode; // default is UIDatePickerModeDateAndTime

@property (nonatomic, strong) NSDate *minimumDate; // specify min/max date range. default is nil. When min > max, the values are ignored. Ignored in countdown timer mode

@property (nonatomic, strong) NSDate *maximumDate; // default is nil

/** 确定 */
@property(nonatomic,copy) void (^sureBlock)(NSString *time);

/** 取消 */
@property(nonatomic, copy) void (^cancelBlock)();

@end
